{{#if items}}
  <select id="issue-detail-plan-select">
    {{#if issue.actionPlan}}
      <option value="#unplan">{{t 'issue.unplan.submit'}}</option>
    {{/if}}
    {{#each items}}
      {{#notEq this.status 'CLOSED'}}
        <option value="{{this.key}}">{{this.name}} {{#if this.fDeadLine}}({{this.fDeadLine}}){{/if}}</option>
      {{/notEq}}
    {{/each}}
  </select>
  <input id="issue-plan-submit" type="submit" value="{{t 'issue.plan.submit'}}">&nbsp;
{{else}}
  <span class="error">{{t 'issue.plan.error.plan_must_be_created_first'}}</span>
{{/if}}
<a id="issue-plan-cancel" class="action">{{t 'cancel'}}</a>
